package com.hivekion.workflow.domain.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.io.Serializable;

@Data
public class ProcessModelInputVo implements Serializable {

      private String name;
      private String key;
      private String category;
      private String description;

      @Override
      public String toString() {
	    JSONObject obj = new JSONObject();
	    obj.put("name", this.name);
	    obj.put("description", this.description);
	    obj.put("revision", 1);
	    return obj.toString();
      }
}
